package com.boboPlanet.xxl.mapper;

import com.boboPlanet.comm.entity.po.LoginUserInfoPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/2/18
 **/
@Mapper
public interface UserXxlJobMapper {

    /**
     * todo:在线、账户正常
     * 获取所有已登录用户信息
     * @return List
     */
    List<LoginUserInfoPO> queryAllLoginUserInfo();

    /**
     * 监控用户状态
     * @param accountId Long
     */
    void updateUserState(@Param("accountId") Long accountId);
}
